package org.pp.controller;

import io.swagger.v3.oas.annotations.Operation;
import org.pp.core.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface BaseDetail<P> {

    @Operation(summary = "CRUD操作 查询详情")
    @GetMapping("/detail")
    public Result<P> detail(@RequestParam(required = true, value = "id") Long id);
}
